<html>
<body>

<p>POST方法默认提交</p>
<form action="/sendhttpreq" method="post">
	<p>姓名: <input type="text" name="name" style="width: 300px" /></p>
	<p>性别: <input type="radio" name="sex" value="male" checked>男
	<input type="radio" name="sex" value="female">女</p>
<p><input type="submit" value="提交" /></p>
</form>

<p>GET方法默认提交</p>
<form action="/sendhttpreq" method="get">
	<p>姓名: <input type="text" name="name" style="width: 300px" /></p>
	<p>性别: <input type="radio" name="sex" value="male" checked>男
	<input type="radio" name="sex" value="female">女</p>
	<p><input type="submit" value="提交" /></p>
</form>

<p>POST方法以application/x-www-form-urlencoded编码方式提交</p>
<form action="/sendhttpreq" method="post" enctype="application/x-www-form-urlencoded">
	<p>姓名: <input type="text" name="name" style="width: 300px" /></p>
	<p>性别: <input type="radio" name="sex" value="male" checked>男
	<input type="radio" name="sex" value="female">女</p>
	<p><input type="submit" value="提交" /></p>
</form>

<p>POST方法以multipart/form-data编码方式提交，且上传文件</p>
<form action="/sendhttpreq" method="post" enctype="multipart/form-data">
	<p>姓名: <input type="text" name="name" style="width: 300px" /></p>
	<p>性别: <input type="radio" name="sex" value="male" checked>男
	<input type="radio" name="sex" value="female">女</p>
	<p>要上传的文件１<input type="file" name="file1"/></p>
	<p>要上传的文件２<input type="file" name="file2"/></p>
	<p><input type="submit" value="提交" /></p>
</form>

</body>
</html>